package com.ruoyi.basic.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文件配置对象 file_config
 *
 * @author ruoyi
 * @date 2025-10-28
 */
public class FileConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文件配置ID */
    private Integer fileConfigId;

    /** 配置名称 */
    @Excel(name = "配置名称")
    private String name;

    /** 配置值 */
    @Excel(name = "配置值")
    private String value;

    /** 区域 */
    @Excel(name = "区域")
    private String region;

    /** 存储桶 */
    @Excel(name = "存储桶")
    private String bucket;

    /** 访问密钥ID */
    @Excel(name = "访问密钥ID")
    private String accessKeyId;

    /** 访问密钥密码 */
    @Excel(name = "访问密钥密码")
    private String accessKeySecret;

    /** 是否使用CNAME */
    @Excel(name = "是否使用CNAME")
    private String cname;

    /** 端点 */
    @Excel(name = "端点")
    private String endpoint;

    /** 超时时间(毫秒) */
    @Excel(name = "超时时间")
    private Integer timeout;

    public Integer getFileConfigId()
    {
        return fileConfigId;
    }

    public void setFileConfigId(Integer fileConfigId)
    {
        this.fileConfigId = fileConfigId;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getValue()
    {
        return value;
    }

    public void setValue(String value)
    {
        this.value = value;
    }

    public String getRegion()
    {
        return region;
    }

    public void setRegion(String region)
    {
        this.region = region;
    }

    public String getBucket()
    {
        return bucket;
    }

    public void setBucket(String bucket)
    {
        this.bucket = bucket;
    }

    public String getAccessKeyId()
    {
        return accessKeyId;
    }

    public void setAccessKeyId(String accessKeyId)
    {
        this.accessKeyId = accessKeyId;
    }

    public String getAccessKeySecret()
    {
        return accessKeySecret;
    }

    public void setAccessKeySecret(String accessKeySecret)
    {
        this.accessKeySecret = accessKeySecret;
    }

    public String getCname()
    {
        return cname;
    }

    public void setCname(String cname)
    {
        this.cname = cname;
    }

    public String getEndpoint()
    {
        return endpoint;
    }

    public void setEndpoint(String endpoint)
    {
        this.endpoint = endpoint;
    }

    public Integer getTimeout()
    {
        return timeout;
    }

    public void setTimeout(Integer timeout)
    {
        this.timeout = timeout;
    }

    @Override
    public String toString()
    {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("fileConfigId", getFileConfigId())
            .append("name", getName())
            .append("value", getValue())
            .append("region", getRegion())
            .append("bucket", getBucket())
            .append("accessKeyId", getAccessKeyId())
            .append("accessKeySecret", getAccessKeySecret())
            .append("cname", getCname())
            .append("endpoint", getEndpoint())
            .append("timeout", getTimeout())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
